package rgbos.forum.search;

import java.util.Vector;

import rgbos.forum.domain.Post;

public interface AbstractSearchEngine {

	public Vector<PostRate> searchByContent(String searchQuery);
	public Vector<PostRate> searchByAuthor(String name);
	public Vector<PostRate> searchByDate(String date);
	public Vector<PostRate> searchByDate(String from, String to);
	public void indexPost(Post message);
	public void deletePost(Post message);
	public void modifyPost(Post oldMessage, Post newMessage);
}